﻿package org.dm.3d.cameras 
{
	import org.dm.3d.geom.Num3D
	
	/**
	 * ...
	 * @author Scott
	 */
	public class CameraBase 
	{
		public var pos:Num3D;
		public var angle:Num3D;
		public var speed:Num3D;
		public var angleSpeed:Num3D;
		public var angleA:Num3D;
		public var damping:Number = .99;
		
		public function CameraBase(ppos:Num3D) 
		{
			pos = ppos;
			angle = new Num3D();
			speed = new Num3D();
			angleSpeed = new Num3D();
			angleA = new Num3D();
		}
		public function reset():void 
		{
			pos = new Num3D();
			angle = new Num3D();
			speed = new Num3D();
			angleSpeed = new Num3D();
			angleA = new Num3D();
		}
		public function stop():void 
		{
			speed = new Num3D();
			angleSpeed = new Num3D();
			angleA = new Num3D();
		}
	}
	
}